package com.cn.kehong.api;

import com.cn.kehong.domain.FactoryShift;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IFactoryShiftService {

    List<FactoryShift>getFactoryShifts(QueryForm queryForm)throws Exception;

    FactoryShift getFactoryShiftByName(String factoryName,String shiftType) throws Exception;

    String addFactoryShift(List<FactoryShift> factoryShifts)throws Exception;

    String updateFactoryShift(FactoryShift factoryShift)throws Exception;

    String deleteFactoryShiftById(String id)throws Exception;

    List<FactoryShift>getFactoryShiftsAll(QueryForm queryForm)throws Exception;

}
